<script lang="ts">
  import { onMount } from 'svelte';

  import OperateAdvanced from './lib/OperateAdvanced.svelte';
  let versionid = '';
  const innerVersion = window.getInnerVersion();
  if (innerVersion) {
    const innerVersionArr = innerVersion.split('.');
    const versionidStr = innerVersionArr.slice(0, 3).join('');
    versionid = versionidStr.match(/\d+/)[0];
  }
</script>

<OperateAdvanced
  stockCode="300033"
  stockName="同花顺"
  market="44"
  userInfo={{
    versionid,
    userid: window.getUserid(),
    platform: window.getPlatform()
  }}
/>

<style lang="less">
</style>
